package com.cy.personer.biz.impl;

import com.cy.personer.bean.Combo;
import com.cy.personer.bean.User;
import com.cy.personer.bean.UserCount;
import com.cy.personer.biz.StatisBiz;
import com.cy.personer.mapper.StatisMapper;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
@Service
public class StatisBizImpl  implements StatisBiz {

    /**
     * whl
      */

    @Resource
    private StatisMapper statisMapper;


    @Override
    public List<User> AllUser() {
        return statisMapper.AllUser();
    }

    @Override
    public User queery() {
        return statisMapper.queery();
    }

    @Override
    public List<User> month() {
        return statisMapper.month();
    }

    @Override
    public List<User> year() {
        return statisMapper.year();
    }

    @Override
    public List<Combo> week(int comboId) {
        return statisMapper.week(comboId);
    }

    @Override
    public List<Combo> mont(int comboId) {
        return statisMapper.mont(comboId);}

    @Override
    public List<Combo> yeart(int comboId) {
        return statisMapper.yeart(comboId);
    }

    @Override
    public List<Combo> list() {
        return statisMapper.list();
    }


}
